import Vue from 'vue'
import Vuex from 'vuex'
import header from './header'
import shop from './shop'
import index from './index/index.js'
import user from './user'
import order from './order'

Vue.use(Vuex)

const store = new Vuex.Store({
    state:{
        home:0
    },
    modules:{
        header,
        index,
        shop,
        user,
        order
    },
})

export default store